package com.woniuxy.house.utils;

/**
 *
 * 简单的ThreadLocal工具类
 * @author baobo
 * @date 2022-08-30-20:45
 */
public class RequestThreadLocalCache {

	private static ThreadLocal<String> threadLocal = new ThreadLocal<String>();

	public static void setRequestToThreadLocal(String str) {
		threadLocal.set(str);
	}

	public static String getRequestFromThreadLocal() {
		return threadLocal.get();
	}

}
